# coding=utf-8
"""

"""

import os

# @Time    : 2024/12/12 17:05
# @Author  : ginger
# @Email   : gingerqgyy@outlook.com
# @Project : curl_conversion
# @File    : do_path.py


# 项目绝对路径 :
PROJECT_PATH = os.path.dirname(os.path.dirname(__file__))

# 身份证文件 :
CARD_CONF = os.sep.join([PROJECT_PATH, 'app', 'conf', 'card.yml'])

# 身份证图目录 :
CARD_PIC_FOLDER = os.sep.join([PROJECT_PATH, 'app', 'static', 'idcard_pics'])

# 脚本目录 :
CODE_FOLDER = os.sep.join([PROJECT_PATH, 'app', 'static', 'codes'])

if __name__ == '__main__':
    def show(_path):
        print(os.path.exists(_path), ':', _path, )


    show(PROJECT_PATH)
    show(CARD_CONF)
    show(CARD_PIC_FOLDER)
    show(CODE_FOLDER)
